﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnimationEditor
{
    class Frame
    {
        private int frameNumber;
        public int FrameNumber
        {
            get { return frameNumber; }
            set { frameNumber = value; }
        }

        private Point anchorPoint;
        public Point AnchorPoint
        {
            get { return anchorPoint; }
            set { anchorPoint = value; }
        }

        private float time;
        public float Time
        {
            get { return time; }
            set { time = value; }
        }

        private String trigger;
        public String Trigger
        {
            get { return trigger; }
            set { trigger = value; }
        }

        private Rectangle drawRect;
        public Rectangle DrawRect
        {
            get { return drawRect; }
            set { drawRect = value; }
        }

        private Rectangle collRect;
        public Rectangle CollRect
        {
            get { return collRect; }
            set { collRect = value; }
        }

        public Frame()
        {

        }

        public Frame(int Num, Point anchor, float frameTime, String trig, Rectangle draw, Rectangle coll)
        {
            frameNumber = Num;
            anchorPoint = anchor;
            time = frameTime;
            trigger = trig;
            drawRect = draw;
            collRect = coll;
        }
    }
}
